package org.springframework.beans.factory;

import org.springframework.beans.BeansException;

/**
 * @Name ObjectFactory
 * @Description: Object 对象工厂
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-04-12 14:44:55
 **/
public interface ObjectFactory<T> {

    /**
     * 获取对象
     *
     * @return T 对象
     * @version v1.0.0
     * @author lichao
     * @date 2024-04-12 14:46:16
     */
    T getObject() throws BeansException;

}
